Skip to content

Add OpenClaw proxy handling and redirection to Caddyfile#11

Merged
haobibo merged 24 commits into
mainfrom
dev/openclaw_0623
Jul 7, 2026
Merged

Add OpenClaw proxy handling and redirection to Caddyfile#11
haobibo merged 24 commits into
mainfrom
dev/openclaw_0623

Conversation

@namelessman

Copy link
Copy Markdown
Contributor

This pull request updates the Caddyfile to add support for proxying requests to the openclaw service. The main changes involve routing and redirect logic to ensure requests are properly handled.

OpenClaw service routing:

  • Added a new route to match requests with the openclaw/ path prefix and proxy them to localhost:18789, stripping the prefix before forwarding.
  • Added a redirect rule for requests ending in openclaw (without a trailing slash) to redirect them to openclaw/ with a 308 status code.

@haobibo haobibo merged commit ee2368b into main Jul 7, 2026
10 checks passed
@haobibo haobibo deleted the dev/openclaw_0623 branch July 7, 2026 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants